import { APP_OSS, APP_NAME } from '../sfe';
export default {
  publicPath: `${APP_OSS}assets/pc/prod/${APP_NAME}/`,
  // favicon: `${APP_OSS}assets/pc/prod/${APP_NAME}/image/favicon.ico`,
  headScripts: [
    `var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?6672f2174605fab9e2b03d3e392848b1";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();`,
    `if (window.location.protocol !== 'https:') {
      window.location.href = window.location.href.replace('http:', 'https:');
    }`,
  ],
};
